package com.zoweunion.mechanic.model.app;

import java.io.Serializable;

public class OrderModel implements Serializable {

    private static final long serialVersionUID = 3438806653435295520L;

    public enum orderListTypeOwner {

        owner_service,  //车主待服务
        owner_paying,   //车主待支付
        owner_comment,  //车主待评价
        owner_history,  //车主历史工单
    }

    public enum orderListTypeManager {

        manager_privilege,  // 高管待优惠
        manager_backMoney,  // 高管待回款
        manager_complain,   // 高管投诉
        manager_history,    // 高管历史工单
    }

    public enum orderListTypeService {

        manager_privilege,  // 高管待优惠
        manager_backMoney,  // 高管待回款
        manager_complain,   // 高管投诉
        manager_history,    // 高管历史工单
    }

    public enum orderListTypeRepair {

        repair_service,  //修工待服务
        repair_paying,   //修工待支付
        repair_comment,  //修工待评价
        repair_history,  //修工历史工单
    }

    public enum orderListTypeDiagonse {

        diagonse_waitService,   // 听诊待服务
        diagonse_history,       // 听诊历史工单
    }

    private orderListTypeOwner listTypeOwner;
    private orderListTypeManager listTypeManager;
    private orderListTypeService listTypeService;
    private orderListTypeRepair listTypeRepair;
    private orderListTypeDiagonse listTypeDiagonse;

    private String orderListType; // 非数据库字段，记录各角色工单列表的类型

    private String r_id; // 用户角色id

    private String currentPage;
    private String pageSize;

    private String	id;

    /** 服务商id */
    private String  s_id;

    /** 车辆id */
    private String	c_id;

    /** 车主id */
    private String	o_id;

    /** 司机id */
    private String	d_id;

    /** 客服id */
    private String	u_s_id;

    /** 工单编号 */
    private String	order_no;

    /** 工单父id */
    private String	parent_id;

    /** 1：维修，2：保养，3：维修+保养，4：返修 */
    private Integer	order_type;

    /** 听诊id */
    private String	u_t_id;

    /** 故障描述 */
    private String	fault_desc;

    /** 工单创建时间 */
    private String	order_creat_time;

    /** 保养时长id */
    private String	m_id;

    /** 增减配件的标识 1：否，2：是 */
    private Integer	as_status;

    /** 工单支付状态  1：未支付，2：已支付*/
    private Integer	payment_status;

    /** 工单支付时间 */
    private String	payment_time;

    /** 工单支付类型 1：授信额度，2：微信，3：支付宝，4：现金 */
    private Integer	payment_type;

    /** 工单支付金额 */
    private String	payment_amount;

    /** 配件返仓状态     1：无需返仓，2: 待返仓 3：提交返仓，4：确认返仓 */
    private Integer	rw_status;

    /** 现金回款     1：无需回款，2: 待回款 3：提交回款，4：确认回款 */
    private Integer	rc_status;

    /** 评价状态 1：未评价，2：已评价 */
    private Integer	appraise_status;

    /** 评价_态度 */
    private Integer	appraise_manner;

    /** 评价_结果 */
    private Integer	appraise_result;

    /** 评价_速度 */
    private Integer	appraise_productivity;

    /** 评价_标签 */
    private String	appraise_lable;

    /** 评价_内容 */
    private String	appraise_context;

    /** 评价时间 */
    private String	appraise_time;

    /** 联系人 */
    private String	contacts;

    /** 联系电话 */
    private String	phone;

    /** 地址 */
    private String	address;

    /** 工单状态 */
    private Integer	order_status;

    /** 初步诊断 */
    private String	cz_plan;

    /** 解决方案 */
    private String	jj_plan;

    /** 配件方案 */
    private String	pj_plan;

    /** 自检项目 */
    private String	zj_plan;

    /** 施工对象 */
    private String	sg_obj;

    /** 加急 0:否,   1:是  默认为0 */
    private Integer	urgent;

    /** 返修原因 */
    private String	repair_cause;

    private String	longitude;
    private String	latitude;

    /** 高管id */
    private String	g_id;

    /** 优惠工单标记 */
    private String	auth_type;

    /** 现金回款提交人ID */
    private String	rc_submit_id;

    /** 现金回款提交时间 */
    private String	rc_submit_time;

    /** 现金回款确认人ID */
    private String	rc_confirm_id;

    /** 现金回款确认时间 */
    private String	rc_confirm_time;

    /** 配件返仓提交人ID */
    private String	rw_submit_id;

    /** 配件返仓提交时间 */
    private String	rw_submit_time;

    /** 配件返仓确认人ID */
    private String	rw_confirm_id;

    /** 配件返仓确认时间 */
    private String	rw_confirm_time;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getS_id() {
        return s_id;
    }

    public void setS_id(String s_id) {
        this.s_id = s_id;
    }

    public String getC_id() {
        return c_id;
    }

    public void setC_id(String c_id) {
        this.c_id = c_id;
    }

    public String getO_id() {
        return o_id;
    }

    public void setO_id(String o_id) {
        this.o_id = o_id;
    }

    public String getD_id() {
        return d_id;
    }

    public void setD_id(String d_id) {
        this.d_id = d_id;
    }

    public String getU_s_id() {
        return u_s_id;
    }

    public void setU_s_id(String u_s_id) {
        this.u_s_id = u_s_id;
    }

    public String getOrder_no() {
        return order_no;
    }

    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    public String getParent_id() {
        return parent_id;
    }

    public void setParent_id(String parent_id) {
        this.parent_id = parent_id;
    }

    public Integer getOrder_type() {
        return order_type;
    }

    public void setOrder_type(Integer order_type) {
        this.order_type = order_type;
    }

    public String getU_t_id() {
        return u_t_id;
    }

    public void setU_t_id(String u_t_id) {
        this.u_t_id = u_t_id;
    }

    public String getFault_desc() {
        return fault_desc;
    }

    public void setFault_desc(String fault_desc) {
        this.fault_desc = fault_desc;
    }

    public String getOrder_creat_time() {
        return order_creat_time;
    }

    public void setOrder_creat_time(String order_creat_time) {
        this.order_creat_time = order_creat_time;
    }

    public String getM_id() {
        return m_id;
    }

    public void setM_id(String m_id) {
        this.m_id = m_id;
    }

    public Integer getAs_status() {
        return as_status;
    }

    public void setAs_status(Integer as_status) {
        this.as_status = as_status;
    }

    public Integer getPayment_status() {
        return payment_status;
    }

    public void setPayment_status(Integer payment_status) {
        this.payment_status = payment_status;
    }

    public String getPayment_time() {
        return payment_time;
    }

    public void setPayment_time(String payment_time) {
        this.payment_time = payment_time;
    }

    public Integer getPayment_type() {
        return payment_type;
    }

    public void setPayment_type(Integer payment_type) {
        this.payment_type = payment_type;
    }

    public String getPayment_amount() {
        return payment_amount;
    }

    public void setPayment_amount(String payment_amount) {
        this.payment_amount = payment_amount;
    }

    public Integer getRw_status() {
        return rw_status;
    }

    public void setRw_status(Integer rw_status) {
        this.rw_status = rw_status;
    }

    public Integer getRc_status() {
        return rc_status;
    }

    public void setRc_status(Integer rc_status) {
        this.rc_status = rc_status;
    }

    public Integer getAppraise_status() {
        return appraise_status;
    }

    public void setAppraise_status(Integer appraise_status) {
        this.appraise_status = appraise_status;
    }

    public Integer getAppraise_manner() {
        return appraise_manner;
    }

    public void setAppraise_manner(Integer appraise_manner) {
        this.appraise_manner = appraise_manner;
    }

    public Integer getAppraise_result() {
        return appraise_result;
    }

    public void setAppraise_result(Integer appraise_result) {
        this.appraise_result = appraise_result;
    }

    public Integer getAppraise_productivity() {
        return appraise_productivity;
    }

    public void setAppraise_productivity(Integer appraise_productivity) {
        this.appraise_productivity = appraise_productivity;
    }

    public String getAppraise_lable() {
        return appraise_lable;
    }

    public void setAppraise_lable(String appraise_lable) {
        this.appraise_lable = appraise_lable;
    }

    public String getAppraise_context() {
        return appraise_context;
    }

    public void setAppraise_context(String appraise_context) {
        this.appraise_context = appraise_context;
    }

    public String getAppraise_time() {
        return appraise_time;
    }

    public void setAppraise_time(String appraise_time) {
        this.appraise_time = appraise_time;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getOrder_status() {
        return order_status;
    }

    public void setOrder_status(Integer order_status) {
        this.order_status = order_status;
    }

    public String getCz_plan() {
        return cz_plan;
    }

    public void setCz_plan(String cz_plan) {
        this.cz_plan = cz_plan;
    }

    public String getJj_plan() {
        return jj_plan;
    }

    public void setJj_plan(String jj_plan) {
        this.jj_plan = jj_plan;
    }

    public String getPj_plan() {
        return pj_plan;
    }

    public void setPj_plan(String pj_plan) {
        this.pj_plan = pj_plan;
    }

    public String getZj_plan() {
        return zj_plan;
    }

    public void setZj_plan(String zj_plan) {
        this.zj_plan = zj_plan;
    }

    public String getSg_obj() {
        return sg_obj;
    }

    public void setSg_obj(String sg_obj) {
        this.sg_obj = sg_obj;
    }

    public Integer getUrgent() {
        return urgent;
    }

    public void setUrgent(Integer urgent) {
        this.urgent = urgent;
    }

    public String getRepair_cause() {
        return repair_cause;
    }

    public void setRepair_cause(String repair_cause) {
        this.repair_cause = repair_cause;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getG_id() {
        return g_id;
    }

    public void setG_id(String g_id) {
        this.g_id = g_id;
    }

    public String getAuth_type() {
        return auth_type;
    }

    public void setAuth_type(String auth_type) {
        this.auth_type = auth_type;
    }

    public String getRc_submit_id() {
        return rc_submit_id;
    }

    public void setRc_submit_id(String rc_submit_id) {
        this.rc_submit_id = rc_submit_id;
    }

    public String getRc_submit_time() {
        return rc_submit_time;
    }

    public void setRc_submit_time(String rc_submit_time) {
        this.rc_submit_time = rc_submit_time;
    }

    public String getRc_confirm_id() {
        return rc_confirm_id;
    }

    public void setRc_confirm_id(String rc_confirm_id) {
        this.rc_confirm_id = rc_confirm_id;
    }

    public String getRc_confirm_time() {
        return rc_confirm_time;
    }

    public void setRc_confirm_time(String rc_confirm_time) {
        this.rc_confirm_time = rc_confirm_time;
    }

    public String getRw_submit_id() {
        return rw_submit_id;
    }

    public void setRw_submit_id(String rw_submit_id) {
        this.rw_submit_id = rw_submit_id;
    }

    public String getRw_submit_time() {
        return rw_submit_time;
    }

    public void setRw_submit_time(String rw_submit_time) {
        this.rw_submit_time = rw_submit_time;
    }

    public String getRw_confirm_id() {
        return rw_confirm_id;
    }

    public void setRw_confirm_id(String rw_confirm_id) {
        this.rw_confirm_id = rw_confirm_id;
    }

    public String getRw_confirm_time() {
        return rw_confirm_time;
    }

    public void setRw_confirm_time(String rw_confirm_time) {
        this.rw_confirm_time = rw_confirm_time;
    }

    public String getG_flag() {
        return g_flag;
    }

    public void setG_flag(String g_flag) {
        this.g_flag = g_flag;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getU_cg_id() {
        return u_cg_id;
    }

    public void setU_cg_id(String u_cg_id) {
        this.u_cg_id = u_cg_id;
    }

    public String getRepair_time() {
        return repair_time;
    }

    public void setRepair_time(String repair_time) {
        this.repair_time = repair_time;
    }

    public orderListTypeOwner getListTypeOwner() {
        return listTypeOwner;
    }

    public void setListTypeOwner(orderListTypeOwner listTypeOwner) {
        this.listTypeOwner = listTypeOwner;
    }

    public orderListTypeManager getListTypeManager() {
        return listTypeManager;
    }

    public void setListTypeManager(orderListTypeManager listTypeManager) {
        this.listTypeManager = listTypeManager;
    }

    public orderListTypeService getListTypeService() {
        return listTypeService;
    }

    public void setListTypeService(orderListTypeService listTypeService) {
        this.listTypeService = listTypeService;
    }

    public orderListTypeRepair getListTypeRepair() {
        return listTypeRepair;
    }

    public void setListTypeRepair(orderListTypeRepair listTypeRepair) {
        this.listTypeRepair = listTypeRepair;
    }

    public orderListTypeDiagonse getListTypeDiagonse() {
        return listTypeDiagonse;
    }

    public void setListTypeDiagonse(orderListTypeDiagonse listTypeDiagonse)  {
        this.listTypeDiagonse = listTypeDiagonse;
    }

    public String getOrderListType() {
        return orderListType;
    }

    public void setOrderListType(String orderListType) {
        this.orderListType = orderListType;
    }

    public String getR_id() {
        return r_id;
    }

    public void setR_id(String r_id) {
        this.r_id = r_id;
    }

    public String getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(String currentPage) {
        this.currentPage = currentPage;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

    /** 高管改价标记 */
    private String	g_flag;

    /** 区域 */
    private String	area;

    /** 仓管ID */
    private String	u_cg_id;

    /** 维修时间 */
    private String	repair_time;
}
